home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / zmore.1 < prev   
Encoding:
Text File  |  1991-11-11  |  4.3 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ZMORE(1)                                                 ZMORE(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      zmore - file perusal filter for crt viewing of compressed
  10.      text
  11.  
  12. SYNOPSIS
  13.      zmore [ name ...  ]
  14.  
  15. DESCRIPTION
  16.      _✓Z_✓m_✓o_✓r_✓e is a filter which allows examination of compressed
  17.      text files one screenful at a time on a soft-copy terminal.
  18.      It normally pauses after each screenful, printing --More--
  19.      at the bottom of the screen.  If the user then types a car-
  20.      riage return, one more line is displayed.  If the user hits
  21.      a space, another screenful is displayed.  Other possibilites
  22.      are enumerated later.
  23.  
  24.      _✓Z_✓m_✓o_✓r_✓e looks in the file /_✓e_✓t_✓c/_✓t_✓e_✓r_✓m_✓c_✓a_✓p to determine terminal
  25.      characteristics, and to determine the default window size.
  26.      On a terminal capable of displaying 24 lines, the default
  27.      window size is 22 lines.
  28.  
  29.      Other sequences which may be typed when _✓z_✓m_✓o_✓r_✓e pauses, and
  30.      their effects, are as follows (_✓i is an optional integer
  31.      argument, defaulting to 1) :
  32.  
  33.      _✓i<space>
  34.           display _✓i more lines, (or another screenful if no argu-
  35.           ment is given)
  36.  
  37.      ^D   display 11 more lines (a ``scroll'').  If _✓i is given,
  38.           then the scroll size is set to _✓i.
  39.  
  40.      d    same as ^D (control-D)
  41.  
  42.      _✓iz   same as typing a space except that _✓i, if present,
  43.           becomes the new window size.  Note that the window size
  44.           reverts back to the default at the end of the current
  45.           file.
  46.  
  47.      _✓is   skip _✓i lines and print a screenful of lines
  48.  
  49.      _✓if   skip _✓i screenfuls and print a screenful of lines
  50.  
  51.      q or Q
  52.           quit reading the current file; go on to the next (if
  53.           any)
  54.  
  55.      e    When the prompt --More--(Next file: _✓f_✓i_✓l_✓e) is printed,
  56.           this command causes zmore to exit.
  57.  
  58.      =    Display the current line number.
  59.  
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZMORE(1)                                                 ZMORE(1)
  71.  
  72.  
  73.  
  74.      _✓i/expr
  75.           search for the _✓i-th occurrence of the regular expres-
  76.           sion _✓e_✓x_✓p_✓r.  If the pattern is not found, _✓z_✓m_✓o_✓r_✓e goes on
  77.           to the next file (if any).  Otherwise, a screenful is
  78.           displayed, starting two lines before the place where
  79.           the expression was found.  The user's erase and kill
  80.           characters may be used to edit the regular expression.
  81.           Erasing back past the first column cancels the search
  82.           command.
  83.  
  84.      _✓in   search for the _✓i-th occurrence of the last regular
  85.           expression entered.
  86.  
  87.      !command
  88.           invoke a shell with _✓c_✓o_✓m_✓m_✓a_✓n_✓d. The character `!' in "com-
  89.           mand" are replaced with the the previous shell command.
  90.           The sequence "\!" is replaced by "!".
  91.  
  92.      :q or :Q
  93.           quit reading the current file; go on to the next (if
  94.           any) (same as q or Q).
  95.  
  96.      .    (dot) repeat the previous command.
  97.  
  98.      The commands take effect immediately, i.e., it is not neces-
  99.      sary to type a carriage return.  Up to the time when the
  100.      command character itself is given, the user may hit the line
  101.      kill character to cancel the numerical argument being
  102.      formed.  In addition, the user may hit the erase character
  103.      to redisplay the --More-- message.
  104.  
  105.      At any time when output is being sent to the terminal, the
  106.      user can hit the quit key (normally control-\).  _✓Z_✓m_✓o_✓r_✓e will
  107.      stop sending output, and will display the usual --More--
  108.      prompt.  The user may then enter one of the above commands
  109.      in the normal manner.  Unfortunately, some output is lost
  110.      when this is done, due to the fact that any characters wait-
  111.      ing in the terminal's output queue are flushed when the quit
  112.      signal occurs.
  113.  
  114.      The terminal is set to _✓n_✓o_✓e_✓c_✓h_✓o mode by this program so that
  115.      the output can be continuous.  What you type will thus not
  116.      show on your terminal, except for the / and !  commands.
  117.  
  118.      If the standard output is not a teletype, then _✓z_✓m_✓o_✓r_✓e acts
  119.      just like _✓z_✓c_✓a_✓t, except that a header is printed before each
  120.      file.
  121.  
  122. FILES
  123.      /etc/termcap        Terminal data base
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Page 2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ZMORE(1)                                                 ZMORE(1)
  137.  
  138.  
  139.  
  140. SEE ALSO
  141.      more(1), zcat(1), compress(1), uncompress(1)
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. Page 3
  196.  
  197.  
  198.  
  199.